var mainApp = angular.module("mainApp", ["ngRoute",'kendo.directives'],function($httpProvider){
    $httpProvider.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=utf-8';
});

mainApp.config(['$routeProvider', function ($routeProvider) {
    $routeProvider.when("/userlist", {
        templateUrl: "../../tpl/users/userlist.html",
        controller: "userlistCtrl"
    }).when("/spider", {
        templateUrl: "../../tpl/flow/spider.html",
        controller: "spiderCtrl"
    });
}]);

